Imports C4F.DevKit.Bluetooth.SerialPortProfile
Namespace SerialPortProfileApplication
    Partial Class Form1
        ''' <summary>
        ''' Required designer variable.
        ''' </summary>
        Private components As System.ComponentModel.IContainer = Nothing

        ''' <summary>
        ''' Clean up any resources being used.
        ''' </summary>
        ''' <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
            If disposing AndAlso (components IsNot Nothing) Then
                components.Dispose()
            End If
            MyBase.Dispose(disposing)
        End Sub

#Region "Windows Form Designer generated code"

        ''' <summary>
        ''' Required method for Designer support - do not modify
        ''' the contents of this method with the code editor.
        ''' </summary>
        Private Sub InitializeComponent()
            Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form1))
            Me.groupBox1 = New System.Windows.Forms.GroupBox
            Me.cmbPortName = New System.Windows.Forms.ComboBox
            Me.btnProperties = New System.Windows.Forms.Button
            Me.lblPortName = New System.Windows.Forms.Label
            Me.grpBoxLegacyApp = New System.Windows.Forms.GroupBox
            Me.txtBoxLegacyApp = New System.Windows.Forms.TextBox
            Me.txtBoxRemoteServ = New System.Windows.Forms.TextBox
            Me.groupBox2 = New System.Windows.Forms.GroupBox
            Me.btnStart = New System.Windows.Forms.Button
            Me.btnStop = New System.Windows.Forms.Button
            Me.btnExit = New System.Windows.Forms.Button
            Me.groupBox3 = New System.Windows.Forms.GroupBox
            Me.btnConnect = New System.Windows.Forms.Button
            Me.cmbServices = New System.Windows.Forms.ComboBox
            Me.btnDiscover = New System.Windows.Forms.Button
            Me.lblService = New System.Windows.Forms.Label
            Me.cmbDevice = New System.Windows.Forms.ComboBox
            Me.lblDevice = New System.Windows.Forms.Label
            Me.sppManager1 = New C4F.DevKit.Bluetooth.SerialPortProfile.BluetoothSPPManager
            Me.deviceServicesManager1 = New C4F.DevKit.Bluetooth.ServiceAndDeviceDiscovery.BluetoothDeviceServicesManager
            Me.groupBox1.SuspendLayout()
            Me.grpBoxLegacyApp.SuspendLayout()
            Me.groupBox2.SuspendLayout()
            Me.groupBox3.SuspendLayout()
            Me.SuspendLayout()
            '
            'groupBox1
            '
            Me.groupBox1.Controls.Add(Me.cmbPortName)
            Me.groupBox1.Controls.Add(Me.btnProperties)
            Me.groupBox1.Controls.Add(Me.lblPortName)
            Me.groupBox1.Location = New System.Drawing.Point(12, 97)
            Me.groupBox1.Name = "groupBox1"
            Me.groupBox1.Size = New System.Drawing.Size(368, 60)
            Me.groupBox1.TabIndex = 0
            Me.groupBox1.TabStop = False
            Me.groupBox1.Text = "Port Settings"
            '
            'cmbPortName
            '
            Me.cmbPortName.FormattingEnabled = True
            Me.cmbPortName.Location = New System.Drawing.Point(104, 23)
            Me.cmbPortName.Name = "cmbPortName"
            Me.cmbPortName.Size = New System.Drawing.Size(155, 21)
            Me.cmbPortName.TabIndex = 3
            '
            'btnProperties
            '
            Me.btnProperties.Location = New System.Drawing.Point(275, 23)
            Me.btnProperties.Name = "btnProperties"
            Me.btnProperties.Size = New System.Drawing.Size(75, 23)
            Me.btnProperties.TabIndex = 2
            Me.btnProperties.Text = "&Properties"
            Me.btnProperties.UseVisualStyleBackColor = True
            '
            'lblPortName
            '
            Me.lblPortName.AutoSize = True
            Me.lblPortName.Location = New System.Drawing.Point(17, 28)
            Me.lblPortName.Name = "lblPortName"
            Me.lblPortName.Size = New System.Drawing.Size(57, 13)
            Me.lblPortName.TabIndex = 0
            Me.lblPortName.Text = "Port Name"
            '
            'grpBoxLegacyApp
            '
            Me.grpBoxLegacyApp.Controls.Add(Me.txtBoxLegacyApp)
            Me.grpBoxLegacyApp.Location = New System.Drawing.Point(15, 170)
            Me.grpBoxLegacyApp.Name = "grpBoxLegacyApp"
            Me.grpBoxLegacyApp.Size = New System.Drawing.Size(368, 142)
            Me.grpBoxLegacyApp.TabIndex = 3
            Me.grpBoxLegacyApp.TabStop = False
            Me.grpBoxLegacyApp.Text = "Data From Legacy Application"
            '
            'txtBoxLegacyApp
            '
            Me.txtBoxLegacyApp.BorderStyle = System.Windows.Forms.BorderStyle.None
            Me.txtBoxLegacyApp.Dock = System.Windows.Forms.DockStyle.Fill
            Me.txtBoxLegacyApp.Location = New System.Drawing.Point(3, 16)
            Me.txtBoxLegacyApp.Multiline = True
            Me.txtBoxLegacyApp.Name = "txtBoxLegacyApp"
            Me.txtBoxLegacyApp.ReadOnly = True
            Me.txtBoxLegacyApp.Size = New System.Drawing.Size(362, 123)
            Me.txtBoxLegacyApp.TabIndex = 0
            '
            'txtBoxRemoteServ
            '
            Me.txtBoxRemoteServ.BorderStyle = System.Windows.Forms.BorderStyle.None
            Me.txtBoxRemoteServ.Dock = System.Windows.Forms.DockStyle.Fill
            Me.txtBoxRemoteServ.Location = New System.Drawing.Point(3, 16)
            Me.txtBoxRemoteServ.Multiline = True
            Me.txtBoxRemoteServ.Name = "txtBoxRemoteServ"
            Me.txtBoxRemoteServ.ReadOnly = True
            Me.txtBoxRemoteServ.Size = New System.Drawing.Size(362, 123)
            Me.txtBoxRemoteServ.TabIndex = 0
            '
            'groupBox2
            '
            Me.groupBox2.Controls.Add(Me.txtBoxRemoteServ)
            Me.groupBox2.Location = New System.Drawing.Point(12, 325)
            Me.groupBox2.Name = "groupBox2"
            Me.groupBox2.Size = New System.Drawing.Size(368, 142)
            Me.groupBox2.TabIndex = 4
            Me.groupBox2.TabStop = False
            Me.groupBox2.Text = "Data From Remote Service"
            '
            'btnStart
            '
            Me.btnStart.Location = New System.Drawing.Point(138, 483)
            Me.btnStart.Name = "btnStart"
            Me.btnStart.Size = New System.Drawing.Size(75, 23)
            Me.btnStart.TabIndex = 5
            Me.btnStart.Text = "St&art"
            Me.btnStart.UseVisualStyleBackColor = True
            '
            'btnStop
            '
            Me.btnStop.Location = New System.Drawing.Point(221, 483)
            Me.btnStop.Name = "btnStop"
            Me.btnStop.Size = New System.Drawing.Size(75, 23)
            Me.btnStop.TabIndex = 6
            Me.btnStop.Text = "St&op"
            Me.btnStop.UseVisualStyleBackColor = True
            '
            'btnExit
            '
            Me.btnExit.DialogResult = System.Windows.Forms.DialogResult.Cancel
            Me.btnExit.Location = New System.Drawing.Point(304, 483)
            Me.btnExit.Name = "btnExit"
            Me.btnExit.Size = New System.Drawing.Size(75, 23)
            Me.btnExit.TabIndex = 7
            Me.btnExit.Text = "E&xit"
            Me.btnExit.UseVisualStyleBackColor = True
            '
            'groupBox3
            '
            Me.groupBox3.Controls.Add(Me.btnConnect)
            Me.groupBox3.Controls.Add(Me.cmbServices)
            Me.groupBox3.Controls.Add(Me.btnDiscover)
            Me.groupBox3.Controls.Add(Me.lblService)
            Me.groupBox3.Controls.Add(Me.cmbDevice)
            Me.groupBox3.Controls.Add(Me.lblDevice)
            Me.groupBox3.Location = New System.Drawing.Point(12, 12)
            Me.groupBox3.Name = "groupBox3"
            Me.groupBox3.Size = New System.Drawing.Size(368, 72)
            Me.groupBox3.TabIndex = 3
            Me.groupBox3.TabStop = False
            Me.groupBox3.Text = "Select Serial Service on Remote Device"
            '
            'btnConnect
            '
            Me.btnConnect.Location = New System.Drawing.Point(275, 43)
            Me.btnConnect.Name = "btnConnect"
            Me.btnConnect.Size = New System.Drawing.Size(75, 23)
            Me.btnConnect.TabIndex = 6
            Me.btnConnect.Text = "&Connect"
            Me.btnConnect.UseVisualStyleBackColor = True
            '
            'cmbServices
            '
            Me.cmbServices.FormattingEnabled = True
            Me.cmbServices.Location = New System.Drawing.Point(104, 45)
            Me.cmbServices.Name = "cmbServices"
            Me.cmbServices.Size = New System.Drawing.Size(155, 21)
            Me.cmbServices.TabIndex = 5
            '
            'btnDiscover
            '
            Me.btnDiscover.Location = New System.Drawing.Point(275, 17)
            Me.btnDiscover.Name = "btnDiscover"
            Me.btnDiscover.Size = New System.Drawing.Size(75, 23)
            Me.btnDiscover.TabIndex = 2
            Me.btnDiscover.Text = "&Refresh"
            Me.btnDiscover.UseVisualStyleBackColor = True
            '
            'lblService
            '
            Me.lblService.AutoSize = True
            Me.lblService.Location = New System.Drawing.Point(17, 48)
            Me.lblService.Name = "lblService"
            Me.lblService.Size = New System.Drawing.Size(72, 13)
            Me.lblService.TabIndex = 4
            Me.lblService.Text = "Serial Service"
            '
            'cmbDevice
            '
            Me.cmbDevice.FormattingEnabled = True
            Me.cmbDevice.Location = New System.Drawing.Point(104, 19)
            Me.cmbDevice.Name = "cmbDevice"
            Me.cmbDevice.Size = New System.Drawing.Size(155, 21)
            Me.cmbDevice.TabIndex = 3
            '
            'lblDevice
            '
            Me.lblDevice.AutoSize = True
            Me.lblDevice.Location = New System.Drawing.Point(17, 22)
            Me.lblDevice.Name = "lblDevice"
            Me.lblDevice.Size = New System.Drawing.Size(44, 13)
            Me.lblDevice.TabIndex = 0
            Me.lblDevice.Text = "Device "
            '
            'sppManager1
            '
            Me.sppManager1.BaudRate = 9600
            Me.sppManager1.DataBits = 8
            Me.sppManager1.Encoding = CType(resources.GetObject("sppManager1.Encoding"), System.Text.Encoding)
            Me.sppManager1.NetworkStream = Nothing
            Me.sppManager1.Parity = System.IO.Ports.Parity.None
            Me.sppManager1.ParityReplace = CType(63, Byte)
            Me.sppManager1.PortName = ""
            Me.sppManager1.ReadBufferSize = 4096
            Me.sppManager1.ReadTimeout = -1
            Me.sppManager1.StopBits = System.IO.Ports.StopBits.One
            Me.sppManager1.WriteBufferSize = 2048
            Me.sppManager1.WriteTimeout = -1
            '
            'Form1
            '
            Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
            Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
            Me.ClientSize = New System.Drawing.Size(390, 518)
            Me.Controls.Add(Me.groupBox3)
            Me.Controls.Add(Me.btnExit)
            Me.Controls.Add(Me.btnStop)
            Me.Controls.Add(Me.btnStart)
            Me.Controls.Add(Me.groupBox2)
            Me.Controls.Add(Me.grpBoxLegacyApp)
            Me.Controls.Add(Me.groupBox1)
            Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
            Me.MaximizeBox = False
            Me.MinimizeBox = False
            Me.Name = "Form1"
            Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
            Me.Text = "Serial Port Profile Application"
            Me.groupBox1.ResumeLayout(False)
            Me.groupBox1.PerformLayout()
            Me.grpBoxLegacyApp.ResumeLayout(False)
            Me.grpBoxLegacyApp.PerformLayout()
            Me.groupBox2.ResumeLayout(False)
            Me.groupBox2.PerformLayout()
            Me.groupBox3.ResumeLayout(False)
            Me.groupBox3.PerformLayout()
            Me.ResumeLayout(False)

        End Sub

#End Region

        Private groupBox1 As System.Windows.Forms.GroupBox
        Private WithEvents btnProperties As System.Windows.Forms.Button
        Private lblPortName As System.Windows.Forms.Label
        Private grpBoxLegacyApp As System.Windows.Forms.GroupBox
        Private txtBoxLegacyApp As System.Windows.Forms.TextBox
        Private txtBoxRemoteServ As System.Windows.Forms.TextBox
        Private groupBox2 As System.Windows.Forms.GroupBox
        Private WithEvents btnStart As System.Windows.Forms.Button
        Private WithEvents btnStop As System.Windows.Forms.Button
        Private WithEvents btnExit As System.Windows.Forms.Button
        Private groupBox3 As System.Windows.Forms.GroupBox
        Private WithEvents btnDiscover As System.Windows.Forms.Button
        Private lblDevice As System.Windows.Forms.Label
        Private WithEvents cmbServices As System.Windows.Forms.ComboBox
        Private lblService As System.Windows.Forms.Label
        Private cmbDevice As System.Windows.Forms.ComboBox
        Private WithEvents btnConnect As System.Windows.Forms.Button
        Private WithEvents cmbPortName As System.Windows.Forms.ComboBox
        Friend WithEvents sppManager1 As BluetoothSPPManager
        Private deviceServicesManager1 As C4F.DevKit.Bluetooth.ServiceAndDeviceDiscovery.BluetoothDeviceServicesManager
    End Class
End Namespace

